
public class KGramPair {

	KGram v1;
	KGram v2;
	
	KGramPair(KGram v1, KGram v2) {
		this.v1 = v1;
		this.v2 = v2;
	}
	
	KGramPair(KGramPair p) {
		this.v1 = new KGram(p.v1);
		this.v2 = new KGram(p.v2);
	}
	
	public void print() {
		System.out.print("k-gram : " + v1.value + " at l." + v1.line + "[" + v1.startPos + ";" + v1.endPos + "[ and l." + v2.line + "[" + v2.startPos + ";" + v2.endPos + "[ ");
	}
	
}
